package cn.tedu._05mvcboot02.config;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.context.annotation.Configuration;

@Configuration
/**
 * 配置类,工程启动会优先加载此类
 */
@MapperScan("cn.tedu._05mvcboot02.mapper")
/**
 * 扫描包路径,自动为其添加@Mapper注解
 */
public class MybatisConfig {
}
